package com.pda.yuanjing.pages.syyk;

import com.pda.yuanjing.beanout.NoBillBeanOut;
import com.pda.yuanjing.thread.CodeBeans;
import com.public_module.basemvp.present.BasePresenter;

public class ScanfPresent extends BasePresenter<ScanfModel, ScanfView> implements ScanfModel.CallBack {

    public void scanfCodeNobill(String  billCode,  String codes,String sid,CodeBeans codeBeans){
        model.scanfCodenobill(billCode,  codes,sid,codeBeans,this);
    }

    @Override
    public void onshowres(String str) {
        if(view!=null)
        {
            view.hideProgress();
            view.showres(str);
        }
    }

    @Override
    public void onshowSuccessresNoBill(NoBillBeanOut.DataBean codeInfoBean) {
        if(view!=null)
        {
            view.hideProgress();
            view.onshowSuccessresNoBill(codeInfoBean);
        }
    }
}


